wip updating js for masonry to only work on pages it needs to