XWIKI-9031: Javascript error when changing the logo of a color theme on IE8

Fixed by using Prototype's strip() function instead of trim(), which is not supported by IE<=8.