Add promise polyfill