writes debug statements to DOM, works for basic contiguous location/time strings