add ajax adapter