Passed wrong argument object to jstree.