a few more jshint issues