Calculate stats in background, load via AJAX