Update timedCharge.js