[BUGFIX] ADWD-1175 Catch clicks on extended search with javascript

This also fixes the behaviour of the non-working reset-form button