Add script to JSHint javascript files staged in git

Also fix a couple of JSHint violations
Ignore OSX Finder files in git