Updated grader.js with url functionality