added custom whoosh index schema and upgraded to typeahead.js