JSHint

Looking for errors with [jshint](http://jshint.com/).