Working grader.js