Editable Tree (native javascript)