grader.js modified to URL functionality