code: function onChangePassword() {
    var password = $('#changed-password').val();
    activeUser().updatePassword(password).then(function() {
      refreshUserData();
      alertSuccess('Password changed!');
    }, onAuthError);
  }
docs: Changes the user's password.