Removed imagesLoaded dependency