Fixed missing documentation for the `window.onReady` function and updated it accordingly to the last boilerplate