Update index.js
Update index.js

Adds an alert to warn users about disconnection caused by the server.
kensiprell/browser-websocket-client,kensiprell/browser-websocket-client,kensiprell/browser-websocket-client