Update ChangeChars.js

Added comments to explain the code