title: High order function reference JS
body: <p>the following code is working but I feel that there is a better way. I'm passing a reference to the high order function's scope.</p>
  
  <pre><code>    var p=this;
      this.nodeModal.find(".modal-footer .save").click(function(){
          p.saveAndClose();
      });
  </code></pre>
  
  <p>is there a simpler way to pass a reference for a high order function? Some kind of binding?</p>