title: Selling Javascript Code
body: <p>I am planning to sell a javascript code that I have written. Given the current state of browsers its quite possible to write complex code. I think I will face a couple of problems/have a couple of questions:</p>
  
  <ol>
  <li>Javascript being client-side can be easily <strong>copied</strong> as soon as I show someone a demo</li>
  <li>Are there any companies selling javascript code? Not dual licensed like ExtJS.</li>
  <li>Should I obfuscate my code? Should I hard-code the website on which it will run and pack it etc.?</li>
  <li>How do I go about this?</li>
  </ol>
  
  <p>Thank you for your time.</p>