updated grader.js to support URL