Fix typo in jsConnect calc.