https://mamchenkov.net/wordpress/2018/04/08/how-javascript-works-the-mechanics-of-web-push-notifications/
How JavaScript works: the mechanics of Web Push Notifications