re-writing irGrade to use jQuery for problems