Enhanced grader.js including URL check