Complete grader.js