fix some  jshint errors.