fixed #447 jshint