Enabled Travis CI build to automatically run jshint
Fixed warnings/errors reported by jshint
Merge pull request #3 from HPACS/add-travis-jshint

Enabled Travis CI build to automatically run jshint