Final working grader.js for files and urls