Bug 1001833 - "TypeError: can't access dead object" due leaks of event/dom module

I'm not sure, I would put something in a util if it would be used at list a couple of times… what do you think? I can't think at the moment another place in SDK where it could be used.