Remove typeahead view from element's data on destroy.
Follow convention.
Fix leaky variable.