Added checkURL and assertURLExists functions
Additional changes to grader.js