starting to switch to cytoscape.js