Hi Tom,
Your "to" is working well! But we see it briefly, as what's inside <span....>...</span>
is replaced by javascript work (There is the "trick" to replace page content)
Then, just place your 'to ' just before <span id='...> and it will not be replaced anymore!
Regards,
Jacques