a simple mmorpg client and server in javascript