Added support for async setting on $.ajax