new debug.js
added sms testing
sms testing