jshint, some errors