some more jshint tweaking