Copy node contents
Eval replaced scripts
Wait until the page has been swapped to rerun