remove the javascript assets as well