title: NodeJS nested lambda callback unexpected behavior
body: <p>I cannot figure out why in my nested callbacks I can't get my <code>sendKey</code> function to run. I tried <code>this.sendKey</code>, <code>sendkey.sendKey</code>, but neither way worked.</p>
  
  <p>Instead <code>isAlive</code> function is getting called.</p>
  
  <pre><code>var sendkey = this.sendKey;
  
  this.on = function (callbackOn) {
      this.isAlive(function (status) {
          if(status){
              //this.sendKey('KEY_POWER');
              sendkey.sendKey('KEY_POWER');
          }       
          callbackOn("");
      });
  };
  
  this.sendKey = function(key, callback) {
      //this code never fires
  };
  </code></pre>