Move JS polyfills to global.