Multi-functional image preloader plugin for jQuery