updating to new custom_asset syntax for css and js files with optimization