Removed IE8 compatibility code. IE8 doesn't have websockets