About the "Script error." Message
TroubleshootingSummary
Description
Most often, the "Script error." message indicates that a browser plugin, such as LastPass, has injected code into the webpage and that code has malfunctioned.
However, the error message can also be triggered accidentally when using the browser's JavaScript debugger.
The script error indicates that source code from a different origin than the website caused the problem, and the error cannot be further specified due to cross-origin policies.
Since the code in the demos almost exclusively uses code from the same origin (the website), the problem is likely due to third-party code.
Another reason could be that the webpage is opened from the local file system. In this case, errors that originate from files in a different folder than index.html do not reach the error handler (also due to cross-origin policy). Since the actual error instance is not available, a script error is reported. Try enabling "break at caught exceptions" in the browser's debugger to break at the original exception.
The former can be verified by disabling all browser plugins and testing whether the same problem still occurs.