use masonry.js instead of a index.js