fix some jshint error