Need to wait for webpage's JavaScript to update webpage content

Fixes #3