added javascript to masonry portfolio items