toggle color
create toggle_node function, use for both d3 and jstree clicks