Require jquery masonry in application.js and require masonry transitions in application.css