Update grader.js to handle urls and json output file