Updated grader.js to accept URLs too