Using a service worker with a live flowchart