Added jshint, fixes #1