Fixed issue where imagesLoaded wasn't returning causing the page to hang
Fixed issue with imagesLoaded causing hang