Modified grader.js to accept a URL