Changed the demo names in the menu, and also began cleaning up the code in graph.js