Bugfix: char is a reserved keyword for Javascript

`char` was used as a variable name (it actually is a reserved keyword, check at the bottom of the page @ http://www.crockford.com/javascript/survey.html) and thus closure compiler throws ERROR and quits. This fix just renames the variable so that js can be minified.