Search with typeahead

Switched everything over to use Typeahead.js and Bloodhound.js. Tried to keep proper formatting intact, but a second look would be appreciated. Will post screenshots as well. 
Is that a valid way to call the animate function? Seems like the property to animate has to be a dictionary