Updated grader.js to read from URL