FIXED crash on `browser.destroy` for EventSource (#807)

Changes v1..v2:
  * more simple state
  * hijack `emit` instead of using `new/removeListener` API
Faster to just edit and push your changes to this branch.