minor readme fix.
use charAt. fixes #192.