Update and rename graph.js to parse.js

removed pub sensitive code.