Add a promise polyfill.