grader.js that can take input from either file or web.