Modify grader.js to work with urls