updated grader.js with corrections