Using jshint to check Javascript code