Finished url function for grader.js