JavaScript tile based RPG