The ajax implementation goes on. At the moment, there is no leave function in this version of the server: it appears to have not been merged from a previous branch; I'm off to find it.
Ajax in the lobby appears to be sorted - minus the redirect to the game room (to be handled by ajax).
Lobby ajax is complete. The lobby now labels you as the correct player and dumps players into the game when the vote concludes as expected.