ajax app data broken