script to tidy up js
Beautify JS pass