Modified grader.js to deal with urls