code: function($element) {
              var data = {};
              $.each($element.data(), function(k, v) {
                  if(typeof v !== 'object' || (v && typeof v === 'object' && (v.constructor === Object || v.constructor === Array))) {
                      data[k] = v;
                  }
              });
              return data;
          }
docs: /*
  exclude complex objects from $.data() before pass to config