Modification of jqTree for TreeX (component for MODX)