Is it possible to base 36 encode with JavaScript / jQuery?
<p>I'm thinking about using the encode/decode technique here (Encoding to base 36/decoding from base 36 is simple in Ruby)</p>

<p><a href="http://stackoverflow.com/questions/6338870/how-to-implement-a-short-url-like-urls-in-twitter">how to implement a short url like urls in twitter?</a></p>

<p>Idea being to track user referrals, invite URLs. I can use Rails to decode, but it there a way to encode with Javascript or jQuery?</p>

<p>Thanks</p>
