Changed charge JS