when adding items, check that item is Element
ref desandro/masonry#374