Update grader.js to accept URL