Modified grader.js to read from url