hello, try with this       UniSession.AddJS  (                     '  new Promise(function(resolve, reject) {' +                     '  const xhttp = new XMLHttpRequest();'                     + '  xhttp.open("GET", ''' + fURL + TRIM (cmd) + ''', false);'                     + '  xhttp.send(null);'                     + '       var sRes = xhttp.responseText;'                     + '       if (sRes != "") {'                     + '            ajaxRequest (' + myMemo.JSName