improved grader.js to accept either a html file or an input url