rename modeAjaxCacheAll to modeAjaxOffline
remove state.modeExtra flag
code coverage