Updated grader.js to take input as URL