commit all the shit
Tidy up JS because it's UGLY