Create ws.js