onClick function error "Loading the code of the page"

I had write the onClick button code to rotate the banner successfully. But today I got a problem of loading the page of this function (it can preview at Wix normally but cannot work after published). The message said " To debug this code, open ar18y.js in Developer Tools".

Can anyone help to tell me how can I fix this? I am a newbie

Thanks a lot