Cast value to string before trimming. Fixes #175
Merge branch 'master' of github.com:sliptree/bootstrap-tokenfield