Simple vanilla javascript to calculate the strength of a password.