Lots of JSLint cleanup (report not updated tho)