Workaround for removeEventListener() in Firefox 36.0a1
See https://forum.mozilla-russia.org/viewtopic.php?pid=667704#p667704