code: function ImageComparison (options) {
          this.options = utils.extend({}, [defaultOptions, options], {
              clearEmpty: true
          });
          this.container = this.options.container;
          this.images = [this.options.data[0].image, this.options.data[1].image];
          this.labels = [this.options.data[0].label, this.options.data[1].label];
          this._animateInterval = null;
          this._comparisonSeparator = null;
          this._items = [];
  
          if (this.container == null) {
              console.error('Container element not found!')
          }
  
          if (!this.images[0] || !this.images[1]) {
              console.error('Need two images!')
          }
  
          this._build();
          this._setEvents();
      }
docs: Constructor
  @param options