Uses jQuery.Deferred() to preload images.