adding new function for feature tree

the tree id is canceled in the html file until it’s ready