char is/will be a reserved keyword

Renamed variable from 'char' because 'char' is a future reserved word in javascript and was breaking closure compiler.