fixed some issues when player left and added a shorter playerid to be used within the game.
Merge branch 'master' of https://github.com/asadlionpk/realtime-multiplayer-in-html5