title: getElementsByName returns nodelist or htmlcollection
body: <p>Totally new to javascript. Ran a getElementsByName query and got a nodelist, however I was looking for an htmlcollection. I know this is due to Dom level implementation.</p>
  
  <p>Qustion: 
  Should I be testing for a return type to be sure or is there a better way of assuring the outcome?</p>