use jshint to check js syntax