wait for widow load for jquery and masonry