change variable char to character
Merge pull request #2275 from mehtaphysical/char_reserved_in_js

change variable char to character