Updated grader.js to handle url as input