A javascript role playing game