update grader.js to support url