Reorganize JS libs

- update jquery
- update typeahead