JS sends X and Y via websockets to server
Del websocket.js