Created by: zaguiini
I was getting a linter error on the serviceWorker files, so I fixed it.
The error: 'checkValidServiceWorker' was used before it was defined. on the register function, which was actually above in the file -- it should be below.