Plain-old callback when all images in HTML page are loaded, with custom timeout