fix minor jshint warnings.