Polyfills Promise.done()