Wix code not working on Safari and Chrome

Debug to check if the click/mouse event is getting fired.
Put console.log() on each event.
If fired the issue is on elements methods.
If not the issue is the element event.