Added jshint as a dev dependency, and created a test which runs jshint against all source files.