Added Promise polyfill for IE.