modified grader.js to take url too