rename graph.js to stats.js