revise some points which reported by jshint