MDL-45314 core_grade: a JS fix for the grader report