- Turn on devel for console and phantom for the phantomjs globals - Remove unnecessary semicolons - Use strict comparisons - Add missing var statements used by for…in