Fix IE7 character access

This fixes an array-like string-access.

Updated explanations:
It was not possible to use block-scope (mode==# etc) in stache on ie7 and other non-es5-browsers.