Modified grader.js to take url as input