Added text for getAttribute for browsers pre-DOM3 not understanding hasAttribute