The linter should have detected these. Not sure if there's a way without turning jshint es5 off.