minor jshint fixes