move on{launch|terminate|terminatecanceled} to ServiceWorkerScope
fix indentation