update grader.js to take either a file or a URL