Add JQuery Masonry, causes name method error