Add promises polyfill.