I have a custom JS file located in siteassets in the homesite https://companyxxx.sharepoint.com/SiteAssets/scripts/custom.js
I have added this JS file in the masterpage of one of my collections and its working ("executing") fine when collection owners or members are coming to the collection but this file is not loading for collection Visitors.
What setting should I change for Visitor group for them to load and run this JS file?