final grader.js, works with --file and --url