Update sms.js

try to work around non functional cordova callbacks, add some alerts to debug