Update ws.js to that of e6692edf4a49400ce568b66f2e304a1cedb57f4b.