Fetch eventsource polyfill if needed

closes #2031