Merge pull request #2 from bnchdrff/master

build jstree data
fixes jstree select