Changed reserved word 'char' to 'character' in order not to crash the google closure compiler.