Modified grader.js to allow file or URL parameter