Trim isn't available in IE8

* Use jQuery’s trim instead
Merge pull request #214 from alphagov/ie8-tagging-fix

Allow tag autocomplete in <IE8