Using nodeName instead of tagName.  See: http://www.quirksmode.org/dom/w3c_core.html#t23