Updated grader.js to take either input file or url;