Some improvements in password.coffee