updated grader.js to accept URL