grader.js changed to support URL