Refactored grader.js for check urls