First step in changing ajax and simple http request distinction. And removing outer XML call opportunity - only as backup method in inner methods.