put comments on connector.js