handle error on xhr;
rename getData callbacks: renderAsyncData, renderDefaultData