Added url checking to grader.js