modified grader.js to read from url