Update CharGen.js