some more jshint fixes