Wrapped masonry function in $(window).load

This will wait for the images to load before masonry is called.