The JavaScript service worker placed on my website doesn't work in the MIT App Inventor WebViewer

You could at least try, or ask if it offers offline functionality ?