modified grader.js to accept url as input