adding graph.js