Added reject polyfill and PromiseCapability