Really simple JavaScript image preloader with callback.