Connection event binds

Added to connection.js the click event binds control