JS Ball movement message over websocket