Debugged grader.js