Bug 1044316 - Dont assume uppercase .nodeName. r=kgrandon