fix jshint errors for travis build.