use es6-promises polyfill