Use jQuery.Deferred() to preload images.