Added comments to character.js