Following up on my earlier post. I think I have a workable solution using the fetch API. If there is a better way, I'd love to learn about it.
<script type="text/javascript">
function parseJessie(code) {
let board = JXG.JSXGraph.initBoard('jsxbox-name', {boundingbox: [-5, 5, 5, -5], keepaspectratio:true});
board.jc = new JXG.JessieCode();
board.jc.use(board);
board.suspendUpdate();
board.jc.parse(code);
board.unsuspendUpdate();
}
fetch('myJessieCode.jc').then(function(response) { response.text().then( function(text) { parseJessie(text); }); });
</script>