Use spread operator to convert NodeList to array
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator
Available in Gecko 16+