add ajax support to search page