title: "class is a reserved identifier" what is wrong in my javascript
body: <p>I am try using prototype javascript framework. i have next code</p>
  
  <pre><code>CheckBoxSlider = Class.create({
      initialize: function (checkbox, block) {
          this.checkbox= $(checkbox);
          this.block=$(block);
          this.checkbox.observe("click", this.onClick.bind(this));
      },
      onClick: function (event) {
          alert("Hello"); 
      }
  });
  window.onload= function() {
     tmp = new CheckBoxSlider("register-new-user","regiser-new-user-fields");
  };
  </code></pre>
  
  <p>But on click after alert i got error "class is a reserved identifier"
  What is wrong?   </p>
  
  <p>Sorry it's my mistake. The script works fine, the problem was in html</p>