fix jshint errors on the last pull request #1