added .trim() to remove surrounding whitespace

Addresses issue #{{722}}
added a unit test for "no whitespace"
added missing semi-colon
Merge pull request #734 from ExactTarget/#722---Combobox

added .trim() to remove surrounding whitespace