grader.js modified for URLs