changed masonry initialization to jquery