reorganize search in template
create typeahead.js and move old code to there
make typeahead subview fully functional
remove debugger