Multiplayer text editor written in javascript