Improve livesearch test coverage

Important notes:
- dataType property completely removed (json only) -> rok approved
- replaced event.keyCode by event.which (jquery normalized - so it should work in every browser)