Modified grader.js to take url