2-3000% better performance in IE7

Modified chunk representation from string to array which gives
perfomance enhancement of 2-3000% in IE7. No measurable perfomance
differences in other browsers.