Add missing code tags to ServiceWorker objects
Refine event.waitUntil(f), event.replace(), [[Install]] and [[Activate]] algorithms