Comply with EventSource.js documentation

https://github.com/Yaffle/EventSource