Use the existing javascript initialization with imagesLoaded.