Update typeahead_view.js

And reshow the placeholder when clearing the hint