actually lint the JS files

JSHint needs to be passed a glob to run against.  Added it to the test command.

Had to tweak 1 test file to pass linting.