rem: var request_ = new XMLHttpRequest(); request_.open('POST', '#', true); 
add: var request_ = _newXMLHttpRequest(); request_.open('POST', location.href, true); 
context:   return function() {    if (request.readyState == isComplete) {     // FIXME: this case apparently triggers if we leave the page.     var serverResponse = JSON.parse(_base64decode(request.responseText.replace('\n', '')));     if ((serverResponse instanceof Object) && ('__continuation' in serverResponse)) {        // it's a continuation        var _res = null;        var cont = function(r) { res = r; }        // FIXME: does window[] necessarily look up functions?        var f = window[serverResponse.__name](cont);        f.apply(f, _tuple_as_list(serverResponse.__arg));        var request_ = new XMLHttpRequest();        request_.open('POST', '#', true);        request_.onreadystatechange = _remoteCallHandler(kappa, request_);        request_.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');        request_.send("__continuation=" + serverResponse.__continuation + "&__result=" + _base64encode(JSON.stringify(_res)));      }      else {        // it's the final result: return it.        kappa(serverResponse);      }    }  }
meta: 3248	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3248/4865664fdacdbfcb332f462cec48375e80d68c8b/jslib.js/clean/jslib.js