Bug 856147 - Add `off` method to event/target for compatibility with devtools.