mods to grader.js