trim for IE
Merge pull request #39 from renelou/master

trim() implementation for IE