In IE7, it is not possible to get a character from a string using the box [] notation.
This caused IE8 to go return defined, enter a continious loop and then cause a stack overflow error.

Amended the offending lines to use charAt instead.
Merge pull request #631 from ToMoCoop/ie7-stack-overflow-fix

IE7 Fix for View Store that caused an infinite loop and eventually a stack overflow exception