Extended grader.js to work with urls