Added javascript to construct the request hash from the fields in the search form.