Talked to Foster and he pinpointed the problem of the element being blown away because I was using tokens in the <html> elements. Apparently if the tokens change, then the entire content of the <html> gets blown away. FINALLY fixed the d3 chart not updating after changing the time range.