Adding a Promises polyfill for 1.1 and 1.3