self.addEventListener('install', function(event) { // Perform install steps console.log("installing"); });