further changes to parse AJAX document into Nokogiri