Fixes `Cannot redefine property: promise` error.
Merge pull request #1 from alexgorbatchev/patch-1

Fixes `Cannot redefine property: promise` error.