Updated grader.js to handle urls