[INTERNAL] CustomData: IE8 doesn't support String.trim()

Change-Id: I6083917a2772c3bf05e721b188666a9ccf473482