Add polyfill of ES6 Promise.