updated grader.js to accept URLs