IMplementing tree structure using jsTre plugin