Modified grader.js to check URLs