Modified grader.js to add function for gettig data through url