Fixing when `cleanup()` is called from a `DOMNodeRemoved` event, fixes #274
Merge pull request #275 from avoidwork/edge

Minor fix