Array indexing on strings is nonstandard and doesn't work on IE