Updated grader.js to support url check