Update searchbox.js

Added updates from others forks.
- Test for empty inputs
- fires requests only after x characters.