making defaulter_cohort more ajax friendly