Put the GUI change in Tools.change in a try {...} statement.
This circumvents a bug in IE9, where classList is not implemented.
Change socket.io configuration