fixing bug in typeahead.js where you cannot set the value to empty string