Re-wrote graphing section to update periodically instead of on response to AJAX requests