Updated version of grader.js