magento2.3 – Is there a way to delay the Javascript that gets compiled by require-config.js from being loaded in the browser?

For example in requirejs-config.js I have this

var config = {
    map: {
        "*": {
            msapp : "Magento_Theme/js/msapp"
        }
    }
};

Then I notice that it compiles into msapp.min.js in the pub/static folder. And then when I visit the site and examine the network tab, it loads right away. Is there a way to delay loading that javascript file until for example 5 seconds has passed or the user has scrolled?

The purpose of doing this is I am trying to get page speed insight to not count this file when scoring the site.