Untested version of grader.js