Updated grader.js to support URLs