jshint检查
bug fixed