     var callInfo = {};     callInfo.functionname = functionName;     //alert("Custom menu clicked !!"+functionName);     if (successCallback)     {         //alert("Success !!"+functionName);         callInfo.success = successCallback;     }     if (errorCallback)     {         //alert("Error !!"+functionName);         callInfo.error = errorCallback;     }     if (args)     {         //alert("args !!"+args);         callInfo.args = args;     }      url += JSON.stringify(callInfo)      