Better implementation of search popup

- use jquery for popup
- separate UI from functionality with Mustache and html string that will be replaced with AJAX