added checkURL function in grader.js