Add a hook for customizing ajax settings