use nokogiri if hpricot isn't available