docs: function(options, jsonData) {
  
              //console.log(jsonData);
              var self = this;
              // remove the existing one.
              $('#' + self.attrId).empty();
  
              // need merge the options with default options.
              self.options = $.extend({}, defaultOptions, options);
              self.jsonData = jsonData;
              self.init();
          }