grader.js modified to read url