Carregue o difer de script
<script type="text/javascript" src="index.js" defer></script>
// makes sure the script fill is loaded after the DOM
Lonely Lemur
<script type="text/javascript" src="index.js" defer></script>
// makes sure the script fill is loaded after the DOM