updates to use cytoscape.js