Fix semantics for jshint test