Added URL parsing to grader.js