Added in modifications for the ajax proxy.