Fixed typos in graph.js