Fix #439 - add .jshintrc, make jshint failures fatal, fix current issues
Merge pull request #451 from humphd/issue439

Fix #439 - add .jshintrc, make jshint failures fatal, fix current issues