updated grader.js to parse url