Fix script loading
Waiting for DOMContentLoaded when <script src="nav.js"></script>
(body must exist)
No wait when nav is call by inline script or third party file
Waiting for DOMContentLoaded when <script src="nav.js"></script>
(body must exist)
No wait when nav is call by inline script or third party file