text to email from Contact Details

https://bugzilla.mozilla.org/show_bug.cgi?id=997547
May I correct in this way? 
apps/sms/manifest.webapp
"target": {
          "pattern":"number or email check"
}

apps/sms/js/activity_handler.js:89
- var number = activity.source.data.number;
+var number = activity.source.data.target;