Polyfill for EventSource