See http://scott.donnel.ly/passchk_fast-a-javascript-password-strength-utility-based-on-passchk/