title: BigDecimal JavaScript Library Error - 'wrap_meth.inner_method' is null or not an object
body: <p>I am using the BigDecimal library for JavaScript. </p>
  
  <p><a href="https://github.com/iriscouch/bigdecimal.js" rel="nofollow">https://github.com/iriscouch/bigdecimal.js</a></p>
  
  <pre><code>var val1 = new BigDecimal(document.getElementById('id1').value);
  
  var val2 = new BigDecimal(document.getElementById('id2').value);
  
  var val3 = val1.add(val2);
  </code></pre>
  
  <p>The add method is working in Firefox but giving the following error on IE8.</p>
  
  <blockquote>
    <p>Message: 'wrap_meth.inner_method' is null or not an object<br>
    Line: 582<br>
    Char: 9<br>
    Code: 0<br>
    URI: <a href="http://localhost:8080/AppName/js/bigdecimal.js" rel="nofollow">http://localhost:8080/AppName/js/bigdecimal.js</a></p>
  </blockquote>
  
  <p>It's giving me the same error for other big decimal methods like compareTo and setScale.</p>
  
  <p>How do I get around the error?</p>