To complete the basic function; convert the bookmark tree to the dom