Update grader.js to support url input