revised grader.js to take urls.