JavaScript text-based role-playing game