created a imagePathPreload function directly on the jquery object to preload image paths