Update jsTree.directive.js

Checking if new value of tree model is defined so that the tree init is not called twice (when watcher is initialized and when watched value is changed).