updated grader.js to work for url