Extends promise-polyfill for minimal use with router.js