Enhance asset optimization by adding asset dumper and state management to CSS and JS collection optimizers