updated charbuilder js