updated grader.js to take in url params