Init browser if document has already loaded

Otherwise realInit() will never be called if the browser is instantiated after the load event has been fired.
Merge pull request #56 from SonicHedgehog/embed-after-load

Init browser if document has already loaded