Fix jshint warning for es5