ajax status moved to template