Inspects the readyState of the document. If the document is already complete then it invokes the given callback.
If not complete it sets up several event listeners such as
deviceready, and once those fire, it invokes the callback.
Called automatically by the Phaser.Game instance. Should not usually be accessed directly.
The callback to be invoked when the device is ready and the DOM content is loaded.