moved lobbyuitls to lobby.js for client
using jquery to update tabs