Modified SSJS headless grader