changed on DOM load to on Window load so the images are all added before it tries to initialize Masonry.. problem was images didn't load fast enough and some weren't being added to Masonry