Fixed #151 by replacing native trim() function with jQuery wrapper.
Merge pull request #152 from cemrich/ie-8-trim

Fixed #151 by replacing native trim() function with jQuery wrapper.