added jquery masonry and update ui