DF fix problem with JS exception in lookup windows