add support for custom ajax loading indicator