more rewrites in bodyparse, genSearch() to initiate a search from onclick.

Signed-off-by: William Rockwood <wrockwood@tadl.org>