javascript websocket reconnect code example Example: reconnecting-websocket npm install --save reconnecting-websocket