Use jQuery trim() to support IE7&8
Merge pull request #20 from lupincn/patch-2

Use jQuery trim() to support IE7&8