code: function (element, options) {
  		this.$element = $(element);
  		this.options = $.extend({}, $.fn.tree.defaults, options);
  
  		this.$element.on('click', '.tree-item', $.proxy( function(ev) { this.selectItem(ev.currentTarget); } ,this));
  		this.$element.on('click', '.tree-folder-header', $.proxy( function(ev) { this.selectFolder(ev.currentTarget); }, this));
  
  		this.render();
  	}
docs: var $ = require('jquery'); TREE CONSTRUCTOR AND PROTOTYPE