add javascript to "post" the search form to searchAction