Add navigator.serviceWorker.whenReady()