use visitor to replace nokogiri css selector