Fix for bug #14074

Getting "Uncaught TypeError: Object #<HTMLSpanElement> has no method
'toLowerCase'" when an element in the document has an id of 'nodeName'

http://bugs.jquery.com/ticket/14074