Gedcom parser for JavaScript