IE8 Fix for String.prototype.trim() function

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim < reference