Move dataStore to the application object. Also fix up the mock AJAX server handling.