Fix ws.js