Move JSHint globals where they are needed.
Add test in the JSHint check again.
Clean up JSHint options.
Merge pull request #39 from XhmikosR/jshint

Tweak JSHint options