Remove masonry-rails gem and replace it with the actual Masonry JS code in vendor