create toggle_node function, use for both d3 and jstree clicks
remove debugger call