How to host your JS files on gDrive.
Rename your local .js files to .txt
Upload your files to Google Drive and rename the .txt files back to .js
When you rename the files to .js on gDrive, the MIME type is preserved.
Right-click on the file and select the Share option
Change file permission from “Restricted” to “Anyone with the link”. Next, copy the file ID as highlighted below.
Add the file ID to the URL below to create the path to the file