Prototype for client combining jQuery Masonry and jQuery Flippy