Modified the grader.js code