Updated grader.js to take either files or urls