ajax functions now support abort flag correctly