Update grader.js

tweaked grader to take URL input as well