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

Changes v1..v2:
  * more simple state
  * hijack `emit` instead of using `new/removeListener` API
I see. I'll fix that. Should close this PR and open a new one, when ready?