Modified grader.js to take URL