Update websocketTransport.js