update grader.js to take URLs
updated grader