event.preventDefault for searchbox on enter

after pressing <enter> in the searchbox, do event.preventDefault and event.stopPropagation to prevent submit forms to be submitted. Fixes #12