working on serviceworker. Dealing with stupidity