JSHint options
Missing semicolons
No global loop iterators :(
Fix variable re-declaration
Move function definition
Misc lint