original grader.js file