Fixed main.js overriding graph.js on graph.html