masonry with close btn js