updated grader.js for URL input