A: 

Did you try to insert a short pause after loading the page?

nici
I tried both pausing and adding a JavaScript handler that provides a callback for when the page is updated, and neither seemed to work. Anyway, our solution was to not load JavaScript this way and to use Selenium, which doesn't have this issue.
James Kingsbery