use new array() api on NodeList