function encloseWithTag(tagName, contents)
        {
            var e = createElement(tagName);
            e.textContent = contents;
            return e;
        }
@param {string} tagName
@param {string} contents
@return {!Element}