Use the JSON RPC Service included in the Extension Library to communicate with the server from Client Side Javascript in an XPage