[websocket] fix subscribe, update test.html