grader.js updated to accept url as parameter