Fixed grader.js to recognize url and normal local files