Modified grader.js to process Urls