More minor JSHint changes
Merge pull request #747 from mc10/jshint

More minor JSHint changes