Added URL processing to grader.js