adds typeahead search

cc: @bcoe @seldo 

look! it's typeahead search!

still to come: further consolidation of the static JS files