Updated grader.js with url file checks