modified grader.js for url check