Better way to set up promise polyfill.
Merge branch 'promise-polyfill2' into new-client
Removing polyfills from other sources.