Initial revision of grader.js, checks.js