Accept url on grader.js script. Added checks