Fixed the WebSocket.send() call which has recently been renaned to .add().