Add jQuery masonry and changing route to pins#index