Play nicely with YUI Compressor

I ran into an issue in using brace and yui compressor which was related to there being a variable named `char`. Figured this might help others who might run into similar issues.
Looks like these are changes to the actual ACE editor code.
brace (including the file you edited) is generated from ACE code, looks you'd be better off submitting a PR to ACE instead.