Spare the user a click

Hitting enter while the focus is in the search input of a Preferences window
triggers the javascript function the respective button calls.
This just makes searching a bit more convenient for the user.
Consistency with the other pref classes