Javascript based password generator