Update connector.js.