title: Javascript not working, says class is undefined
body: <p>I'm trying to work with Ultra Cart and its giving me a huge headache. I'm using Moo tools also, and it seems that the pages are not connecting to j query. I referenced it properly but its not working. I'm new to JavaScript, so any help would be lovely. Is there something else that I need to add to use classes?</p>
  
  <pre><code>var Checkout = new Class({
  
  var UltraCart = new Class({
  
  MooTools.More={
  </code></pre>
  
  <p>The debugger says it something wrong with the first line in each script.</p>
  
  <p><b>Here's some links to the script online:</b></p>
  
  <p>view-source:http://www.wclarkpublishing.com/checkout</p>
  
  <p><a href="https://www.wclarkpublishing.com/js/ultracart.js" rel="nofollow">https://www.wclarkpublishing.com/js/ultracart.js</a></p>
  
  <p><a href="https://www.wclarkpublishing.com/js/checkout.js" rel="nofollow">https://www.wclarkpublishing.com/js/checkout.js</a></p>