cleaned up grader.js