Graph.js cleaned up