A password storage program in JavaScript