code: function JSM(context, config) {
    this.context   = context;
    this.config    = config;
    this.state     = config.init.from;
    this.observers = [context];
  }
docs: -------------------------------------------------------------------------------------------------