Modify javascript so that error events are handeled properly by the webv...

...iew delegate.