Fixed a bug where everything would crash if the page loaded slowly

If a `clear` command is sent before the `shadowBody` is  initialized everything crashes. I have moved the `start` call inside the window.onload to fix this.