Update Websocket/SockJS interface
Use org.scalajs.dom