Add Promise polyfill for older browsers