Image search using ajax, Isotope and infinite scroll