Updated grader.js with url handlers