Modified grader.js to take a URL as input