tidies up javascript code