Modified grader.js for use with url parameter