Use jQuery/AJAX to auto-refresh graph on detail.php page.