modified grader.js to check url