orReason-PasswordMatch").text() ];
                show_errors("#change-error", errors);
                $('#change-confirm').focus();
                return false;
            } else if (password === '') {
                return false;
            }
            resetPassword(token, password)
                .done(function() {
                    $('#change-error').slideUp();
                    window.location.reload();
                })
                .fail(function(jqxhr, status, error) {
             