added final version of grader.js