Javascript mindmap using the D3 library