    );
    },
    renderPager: function(child, index) {
      var classes = React.addons.classSet({
        'pager': true,
        'pagerActive': this.state.currentSlide === index,
      });
      return (
        React.createElement("span", {key: index, className: classes, onClick: this.handleSelect.bind(this, index)})
      );
    },
  });

  function render(slideshowData) {
    React.render(
      React.createElement(Slideshow, {data: slideshowData}),
      document.getElementById('slides