initial client.js commit for multiplayer code