I added support for the blur event so that the tags are properly created when the input is blurred.