Factorize the code of konix/www/web-search and konix/www/web-search-default