shim string.prototype.trim locally


This makes base64 work in IE8