update graphtest.html with some javascript stuff. right now it's not pulling the most recent data because it still has problems with unconnected graphs