Reference character as numeric index in string fix

Addresses browsers prior to ECMAScript 5 standards ( ie 6, 7 ) which cannot reference characters in a string by reference.