add es6 promises polyfill