jshint syntax fix