docs: function ($ul, collection, updater, refresh) {
              var ul = ($ul.length ? $ul[0] : $ul);
              var i = 0;
              // var li = $ul.find('li');
              var li = ul.childNodes;
  
              // Update existing
              while (i < collection.length && i < li.length) {
                  updater.setLi(li[i], collection[i]);
                  ++i;
              }
              // Add new
              while (i < collection.length) {
                  $(ul).append(updater.newLi(collection[i]));
                  ++i;
              }
              // Remove extra
              var j = li.length - 1;
              while (j >= i) {
                  ul.removeChild(li[j]);
                  --j;
              }
              if (refresh !== false) {
                  $(ul).listview('refresh');
              }
          }