Added a string.trim polyfill.