Added url handling to grader.js