Make searching work just by start typing the name

Solution for a mistake on the code
Bugs, bugs everywhere

It's .val() instead of .text(), only focus the input if it's not
focused. And backspace clear the search input.