nononononononono don't do this! IE **needs** onunload or it will close connections when you have an `<a>` link with a `javascript:` in the href. This changes now causes IE8? to be vulnerable for this. See https://github.com/sockjs/sockjs-client/issues/90