[modify] connect.js

query