Init app state by getting transactions from backend through XHR