rem: statistics.each(function(pair){ total += pair.value; }); 
add: var executer = new PeriodicalExecuter(function() { executer.stop(); var ajaxRequest = new Ajax.Request(context_path('getProjectBuildStatus.ajax'), { asynchronous:1, method: 'GET', onComplete: function() { if(active_build_finished()){ return; } executer.registerCallback(); }, onSuccess: function(transport) { var json = transport.responseText json = json ? eval('(' + json + ')') : null ajax_periodical_refresh_active_build_executer_oncomplete(json, project_name) } }); }, 5); 
context: 	statistics.each(function(pair){		total += pair.value;	});
meta: 8469	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8469/c9fc2437910d9163108bed63b8a8f710afec0894/cc.js/buggy/reporting/dashboard/webapp/javascripts/cc.js