add connection.js