first version of grader.js