Proxy is done with callback function as parameter. It needs some tightening.

First pass at the example ajax code to call the proxy