I am not a js programmer and I have this issue (Uncaught SyntaxError: Unexpected token else)
on one of our pages ...
I strongly believe this is a duplicate of 2 Questions that were answered around this place:
1) Syntax Error: Unexpected token Else 2) Prompt JavaScript If Else Unexpected Token else
So I admit my sin ... (But) I must verify my case is the same %100 for sure( a trailing ; )
So the script is this:
<script type="text/javascript">
if("0" == 0) var t = 'existing' else var t = 'new';
document.write('<scr'+'ipt type="text/javascript" src="//my.domain.com/tag.js?ck=XXX&Retarget=domain:'+t+':psd:sku:XXXXXXXX"></scr'+'ipt>');
</script>
in Chrome .... the error shows after the if statement