Adapted version of grader.js and checks.json