moved some js back to the html page to fix elements not existing when listeners were set up. changed the graph thumbnails for the time being. added graph title support.