Allow faults in typing
<p>I want to make a quiz and the user should type the right answer.
Let's say the answer is correct if the answer matches 90%. For example, if the user types</p>

<p><code>Britney Spers</code> instead of <code>Britney Spears</code>, the answer should be right.</p>

<p>I searched for Javascript functions to determine how accurate the answer is, I found some interesting functions for PHP, Ruby etc, but I need it in JavaScript.</p>

<p>Has anybody experience with these kind of algorhitms?
Thank you if you answer :)</p>
