code: function createSliderElement(slidesCount) {
    var sliderElement = createElement('div', Layout.SLIDER);
    for (var i = 0; i < slidesCount; ++i) {
      sliderElement.appendChild(createElement('div', Layout.SLIDE));
    }
    return sliderElement;
  }
docs: Creates valid slider element containing slides of given count.