Getting rid of unnecessary .js files