text: Module.register("MMM-Alexa",{
      defaults: {
      },
      start: function(){
          var self = this;
  
          var sendNotification = function(notification){
              self.alexaRunner.notificationReceived(notification);
              self.sendNotification(notification, {});
          };
  
          this.alexaRunner = new window.alexaRunner(this.config, sendNotification);
  
          if(this.config['debug']){
              window.alexaStart = function(){
                  sendNotification('ALEXA_START_RECORDING');
              };
  
              window.alexaStop = function(){
                  sendNotification('ALEXA_STOP_RECORDING');
              };
          }
      },
      getDom: function() {
          var wrapper = document.createElement('div');
  
          if(this.config['hideStatusIndicator']){
              wrapper.className = 'alexa-hidden';
          }else{
              wrapper.className = 'alexa-notInitialized';
          }
  
          wrapper.id = 'alexa';
  
          return wrapper;
      },
      getScripts: function(){
          return [
              this.file('alexaRunner.babel.js')
          ];
      },
      getStyles: function(){
          return [
              this.file('Alexa.css')
          ];
      },
      socketNotificationReceived: function(notification, payload) {
          if(notification.startsWith('ALEXA_')){
              this.alexaRunner.notificationReceived(notification);
          }
      },
      notificationReceived: function(notification, payload, sender) {
          if(notification === 'DOM_OBJECTS_CREATED'){
              this.alexaRunner.initialize();
              this.sendSocketNotification('SET_CONFIG', this.config);
          }
  
          if(notification.startsWith('ALEXA_') || notification==='AMAZON_ACTIVATE'){
              this.alexaRunner.notificationReceived(notification);
          }
      }
  });