slight jshint tweaks