Javascript updates

Fixes the 404 error for typeaheads
Fixes applied

Fixed solr search direction
Fixed doc block @return for some classes