updated grader.js to accept url