updated grader.js to work on urls