adding ajax support 3