`routeNodes` should be the second argument to `find` not to `map`. `find('span[title]', routeNodes).map...`