Why does JS double display on page

My JS doubles up right above each other, same code, same all. WHY!

Please help!!

Need to see what you’re talking about, can you post the code and/or if possible a link to it on codepen or similar.