Modify grader.js to support URL option