Improving grader.js