Something I probably missed in the original patch but it would be better to reset `xhrCallbacks` to `{}` to avoid it being called multiple times if original unload is aborted and to avoid nasty memory leaks in IE.

Other than that, the whole PR has my seal of approval ;)