add javascript version of password generator