Added tagInput custom method