Update connector.js
Merge pull request #505 from newebug/master

Update connector.js