Updated grader.js to support URLs and extended checks.json