Modified grader.js to accept url