Write SSJS headless grader