Request manager for ajax with jquery