Remove unused resources and add a minified version of the scripts