Fix JSHint error

`Promise` is now a global, and JSHint complains if we try to redefine it.