updated grader.js for url support. Expanded checks