code: function (id, type, action, data) {
  		var messageObject = {
  			id: id,
  			type: type,
  			action: action,
  			data: data
  		};
  		sendMessage(messageObject);
  	}
docs: ***************************************
  Compose Message
  ***************************************