updated grader.js
Added url checking to grader.js