code: function Plugin(element, options) {
      this.element = element;
      this.settings = $.extend({}, defaults, options);
      this.periodOptions = {
        title: this.settings.periodTitle,
        backgroundColor: this.settings.periodBackgroundColor,
        borderColor: this.settings.periodBorderColor,
        textColor: this.settings.periodTextColor
      };
      this.init();
    }
docs: Plugin constructor