function removeObsolete(validIds, section)
        {
            if (validIds.indexOf(section.id) < 0)
                section.remove();
        }
@param {!Array.<string>} validIds
@param {!Element} section