Add `afterAssetsReady` event which fires after precompile or when the environment is ready.