Revised grader.js able to process URLs