JS implementation of online multiplayer game architecture.