modified grader.js to check URLs