Bug 843432 - Fix readystatechange event listener removal. r=dolske

--HG--
extra : rebase_source : 56ee10da0814da47a7330b09acbc795b73f6dabd