remove a few jshint warnings