issue #2826: Bug fix of 'js::IsInRequest'