Adds promise polyfill