Add jquery masonry style to pins