1.4: Fixed minor issues in sms.js