fixes to get SSE polyfill working