Add a Javascript validation test for recaptcha (field not empty)

It is a minor change, but may avoid unnecessary requests.

The other test (match between user response and challenge) can only be done server-side