code: function (state) {
          var me = this;
          if (me.readyState != state) {
              me.readyState = state;
              me.onreadystatechange();
          }
      }
docs: Updates readyState and notifies listeners.
  @private