added connnect.js