grader.js is revised to grade URL