clean up lobby.js and game.js, some duplicated code was left over