"char" is a reserved word in JavaScript
http://www.crockford.com/javascript/survey.html
Changing variable from "char" to "ch".
Merge pull request #38 from ttfkam/master

"char" is a reserved word in ES3, which makes Closure Compiler complain.