Use AJAX to XML-RPC