Adding promise polyfill