That's why I version control. Restored deleted functions from NPC(js) and Encounter(js).