Revised grader.js to support --url