#2647: JS cross domain client is failing to connect