First version of the modified grader.js