working grader.js