added global jstree destroy method - close #806