Running jshint (thru command: npm test) should find this kind of error.