Make ajax search term flexible.

Add a new default param `search_term` and make its default value `q`.