nodeListToArray
Filter method