adding clientWebSocket.js