How to implement a JavaScript-based tool for genealogical research and family trees?