Update connect.js
Merge pull request #2 from zmofei/master

Update connect.js