Update sample to keep up with spec changes to ServiceWorker.