grader js and checks