use Array.indexOf() for NodeList