updated grader.js that it works for eather a file or url