javascript: add method to string class
<p>I'd like to be able to say something like this in javascript :</p>

<pre><code>   "a".distance("b")
</code></pre>

<p>How can I add my own distance function to the string class?</p>
