Provide polyfill to support EventSource in browser where it is not available