corrected errors in grader.js