A javascript RPG