How to I add a JS file (service worker) to the root folder of website in Sitejet?

Thank you for the reply. I tried again with different JS files. They all were uploaded perfectly. However, when I just created a simple text and saved as a JS extension file name same as the problem one, it did not load. Is there a limit of the length of the name? That one was peculiarly long.