Update charge.js