Try putting in a ticket to WIx support to see if they can answer your query, or at least move your question to the right department.
However, no website pages should be crashing due to having Wix code on them, it makes me wonder if you have something else affecting it like your web browser or is there something in the actual code that is wrong?
If you are using Safari, then try another browser like Chrome or Firefox and see if the problem is replicated in different browsers and vice-versa if you are using Chrome or Firefox instead.
It may depend on the type of device that you use and also what broswer you are using to view it in. It doesn’t mean that it’s the same issue. Therefore, I recommend contacting Support, since they have the tools to check whether it’s a local issue or an issue on Wix’s end.
https://support.wix.com/en/article/editor-error-script-may-have-stopped-responding-or-aw-snap