update client to move from pv to channel, add listener to check if the websocket is still not connected before trying to subscribe, add multiple js widgets and demo pages