nctuation">&lt;</span>figure</span><span class="token punctuation">&gt;</span></span> element
        // include only element nodes
        if (figureEl.nodeType !== 1) {
          continue;
        }

        linkEl = figureEl.children[0]; // <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>a</span><span class="token punctuation">&gt;</span></span> element

        size = linkEl.getAttribute('data-size').split('x');

        // create slide object
        item = {
