I think it's strange to rely on `this` here. AFAIK, the typeahead:selected should pass the datum with the value as additional parameter. Maybe this requires splitting up of `typeahead:initialized` and `typeahead:selected` (which I would recommend anyway as one of the cases makes up 6/7 of the code)