Update sms-connector.js

minor bug