Fixing Promise override

See https://github.com/jshint/jshint/issues/1747