Modified grader.js to accept url input