follow efe js code style
fix jshint warning