trying to get multiplayer to work in js