use charAt function on strings to compatible with js environments in ECMA3
rebuild with version 1.1.10