use custom version of imagesloaded