Sorted grader.js to accept urls