code: function (command, id) {
          id = id || '';
          if (id) {
            this.queue.push(id);
          }
          SocketService.emit('execute', {
            command: command,
            id: id
          });
        }
docs: WebSocket to execute command