Updated grader.js to accept URLs