Polyfill - String.prototype.trim()

Fix for https://github.com/wet-boew/wet-boew/issues/2683