Updated/fixed grader.js to accept URLs