Fixes #42 Sometimes we see an error message about fireLoad() and appendChild
Now we wait for the later of the real load event and the fireLoad() event