Removes coffeescripts, refactors javascripts