Получить тег с JavaScript
document.documentElement
Muhammad Mabrouk
document.documentElement
<script src=" link-to-your-javascript-file-goes-here" async defer></script>