updated grader.js to accept webpages