changed js to move and add players on ws message