This is a first step towards lazy loading the majority of the JS: the
boot JS code should not depend on any libraries (underscore.js and
jQuery).
Even without lazy loading in mind, this would be a nice-to-have.
Part of https://github.com/odoo/odoo/pull/32181
task-1961045