'all records' page of a student takes too long to load #2559

as per title.
testing for ajax loading is also added