Clean up javascript removing javascript from html files