compatible with jshint 2.x