bugfix: remove class only if tagInput defined

tagInput variable not used inside forms of single input, only in forms
of multiple select
Merge pull request #54 from gescheit/master

bugfix: remove class only if tagInput defined