some jquery ajax for navbar search suggestions

the ajax call and subsequent parsing works. the typeahead for the navbar
does not.