ajax requests handle caching

It was noticed that Firefox 29 in private mode got empty strings in etag and ecache because initial caching was made through masquerading as Image object.  XmlHttpRequests fixed the problem.