added WS to server.js