Fetch eventsource polyfill if needed
Update url for static resource
Pass global to IIFE
Merge pull request #2032 from jsbin/fix/2031

Fetch eventsource polyfill if needed