EQ-1574 fix js error when conditional access enabled #28