ajax working for json and xml.  Local storage view is working