modified grader.js to take in URL as input