Revised grader.js to accept URL option