Choose the right script-loading attribute for every : defer for app code, async for independent third-party, type=module for modern code. Bare in is always wrong.
HTML Living Standard — The script element
Chrome for Developers — Eliminate render-blocking resources