code: function (element, options) {
  		var kids;
  
  		this.$element = $(element);
  		this.options = $.extend({}, $.fn.wizard.defaults, options);
  		this.currentStep = 1;
  		this.numSteps = this.$element.find('li').length;
  		this.$prevBtn = this.$element.find('button.btn-prev');
  		this.$nextBtn = this.$element.find('button.btn-next');
  
  		kids = this.$nextBtn.children().detach();
  		this.nextText = $.trim(this.$nextBtn.text());
  		this.$nextBtn.append(kids);
  
  		// handle events
  		this.$prevBtn.on('click', $.proxy(this.previous, this));
  		this.$nextBtn.on('click', $.proxy(this.next, this));
  		this.$element.on('click', 'li.complete', $.proxy(this.stepclicked, this));
  		
  		this.$stepContainer = this.$element.data('target') || 'body';
  		this.$stepContainer = $(this.$stepContainer);
  	}
docs: var $ = require('jquery'); WIZARD CONSTRUCTOR AND PROTOTYPE