modded grader.js