Gross hack for racy JS polyfill