implemented checking url in grader.js