add graph.html and rename output.json to .js