Hi,
A script error means there's been a problem with the code the browser it's trying to run. This is normally the fault of a website (if it happens on one site only). However, if you want to ensure that your device is free from threats. We suggest you download the Microsoft Safety Scanner from this link. It is a free downloadable security tool that provides on-demand scanning and helps remove viruses, spyware, and other malicious software. It works with your existing antivirus software.
If you require any further information, feel free to let us know.
Regards.