Add globals to .jshintrc
Add globals to main.js