Reformat and add semicolons to graph.js