A small embeddable Promise polyfill