pre-load collection from localstorage before getting it from ajax request