It appears filter() needs an 'each' method in order to work and the NodeList has none. Like I say above, I could convert the NodeList into an Array, and use the filter method, or just do like this for better performances.