Adding more checks and url functionality to grader.js