What are the values when you debug and step into the if(data.streams) clause? Does the span exist when this code is running (i.e. after a document ready or this code at the end of the document)?
What are the values when you debug and step into the if(data.streams) clause? Does the span exist when this code is running (i.e. after a document ready or this code at the end of the document)?