checks json and grader js