Ajax prototype: Functional multiplayer