rem: if ( httpObject.readyState != 4 ) return false; 
add: if ( httpObject.readyState != 4 ) return false; 
context: function submitCommand(){    var httpObject = getHttpObject();    if ( !httpObject )    	return true;    var command = (top.chatpane.document.getElementById( "ChatWindow" ) ? "submitCommand" : "executeCommand") +        "?cmd=" + URLEncode( top.menupane.document.gcli.scriptbar.value );    // Object verified, so do the open, on ready state change,    // and anonymous function definition.    httpObject.open( "GET", "http://<!--MAFIA_HOST_PORT-->/KoLmafia/" + command );    httpObject.onreadystatechange = function ()    {    	if ( httpObject.readyState != 4 )    		return false;        displayText( top.menupane.document.gcli.scriptbar.value, httpObject.responseText );    }    httpObject.send( null );    return true;};
meta: 4541	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4541/193eb7fc153faf0da71fb0511c08fcc080e8cd6b/compactmenu.js/clean/src/html/compactmenu.js