Ammend grader.js to handle url passing