title: Getting error in knockout
body: <p>I got the following error:</p>
  
  <p>Error: Unable to parse bindings.
  Message: ReferenceError: UpdateStatus is not defined;
  Bindings value: checked: status, disable: status, click: UpdateStatus</p>
  
  <p>Here is my javascript code</p>
  
  <pre><code>function WebmailViewModel() {
  // Data
  var self = this;
  self.days = ['2012-10-01', '2012-10-02', '2012-10-03', '2012-10-04', '2012-10-05', '2012-10-06', '2012-10-07'];
  self.choosenDateId = ko.observable();
  self.choosenDateGoal = ko.observable();
  self.choosenGoalId = ko.observable();
  
  self.UpdateNote = ko.computed(function () {
      $.ajax({
          type: "POST",
          url: 'SinglePageApp.aspx/UpdateNote',
          data: "{goalId:9423}",
          contentType: "application/json; charset=utf-8",
          success: function (result) {
              alert(result.d);
          }
      });
  });
  
  self.UpdateStatus = ko.computed(function () {
      $.ajax({
          type: "POST",
          url: 'SinglePageApp.aspx/UpdateStatus',
          data: "{goalId: 9423}",
          contentType: "application/json; charset=utf-8",
          success: function (result) {
              alert(result.d);
          }
      });
  });
  
  // Behaviours    
  self.gotoDay = function (days) { location.hash = days };
  
  // Client-side routes    
  Sammy(function () {
  
      this.get('#:days', function () {          
          self.choosenDateId(this.params.days);
  
          debugger;
          $.ajax({
              type: "POST",
              url: 'SinglePageApp.aspx/GetGoals',
              data: "{goalDate:'" + this.params.days + "'}",
              contentType: "application/json; charset=utf-8",
              dataType: "json",
              success: function (msg) {
                  self.choosenDateGoal(msg.d);
  
                  alert("success");
              },
              error: function (XMLHttpRequest, textStatus, errorThrown) {
                  alert(textStatus);
                  alert(errorThrown);
              }
          })
      });
      this.get('', function () { this.app.runRoute('get', '#2012-10-04') });
  }).run();
  };
  </code></pre>
  
  <p>ko.applyBindings(new WebmailViewModel());</p>
  
  <p>Thanks in advance</p>