fix charAt less compile error, now on bootstrap 2.3.1