Fixing our 'require' polyfill.