Modified grader.js to take URL as an input