Revised grader.js to work both for file and url input