Removed ES5 declarations after updating jshint didnt like them. ES5 now by default.