defer image loading after ajax finish