IE < 8 fix for String.prototype.trim()