Password generator in JavaScript, that evaluates the generated password and displays only passwords of certain strength