Added Promise polyfill