Functions/js code showing on prototype preview - help!

Help!
For some reason the last changes I did on my file made the preview and the publish prototype to show a weird and random code - screenshot attached)
Any idea why and what can I do to find out why?

thank you!