Masonry in meteor.js

Code snippet to make masonry work with meteor.js

Template.activity_feed.rendered = function () {
    $('.masonry-container').isotope({
      itemSelector: '.item',
      layoutMode: 'masonry',
      masonry: {
        columnWidth: 200,
        gutterWidth: 5
      }
    })
};