removes javascript/, images/, stylesheets/ and params.json