grader.js: update to take  url \n checks.json: add conditions