base version of grader.js