fix jshint warnings.