expand ajax hook