Adding JavaScript error trap in DocumentComplete event