pre ajax state