Added globals to .jshintrc and some cleanup
Minor cleanup