Revised check.json and grader.js - Part 3: Write SSJS headless grader