Added all checks and modified grader.js to accept urls