grader.js modified to accept urls as parameter