modified grader.js to accept url