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

Changes v1..v2:
  * more simple state
  * hijack `emit` instead of using `new/removeListener` API