module.exports = {
    className: 'sms',
    template: require('./index.html'),
    data: {
        name: 'SMS',
        icon: '/images/blocks_sms.png',
        attributes: {
            value: {
                label: 'Phone #',
                type: 'string',
                value: '+18005555555'
            },
            messageBody: {
                label: 'Message',
                type: 'string',
                value: '',
            },
            innerHTML: {
                label: 'Label',
                type: 'string',
                value: 'Send SMS'
            }
        }
    },
    ready: function () {
        var self = this;
        self.$el.addEventListener('click', function (e) {
            if (!window.MozActivity) return;

            if (self.$parent.$parent.$data.params.mode !== 'play') return;

            e.preventDefault();
            new MozActivity({
                name: 'new',
                data: {
                    type: 'websms/sms',
                    number: self.$data.attributes.value.value,
                    body: self.$data.attributes.messageBody.value,
                }
            });
        });
    }
};

@@ -709,54 +709,8 @@
 ) %7B%0A
-            if (!window.MozActivity) return;%0A%0A
     
@@ -780,17 +780,16 @@
 return;%0A
-%0A
         
@@ -816,158 +816,33 @@
 ();%0A
-            new MozActivity(%7B%0A                name: 'new',%0A                data: %7B%0A                    type: 'websms/sms',%0A                   
+%0A            var
  number
-:
+ =
  sel
@@ -867,25 +867,25 @@
 .value.value
-,
+;
 %0A           
@@ -889,21 +889,18 @@
     
-       
+var
  body
-:
+ =
  sel
@@ -935,17 +935,16 @@
 dy.value
-,
 %0A       
@@ -952,28 +952,59 @@
     
-    %7D%0A            %7D)
+window.location = 'sms:' + number + '?body=' + body
 ;%0A  

Use standard sms: format rather than MozActivity for SMS brick.