added debugged grader.js