Bugfix: Do not silently fail on JS errors.