Make the search results page friendlier to users without JS.

Fixes bug #66133 (Search silently brokes is Javascript is not enabled).