added charging and firing to character.js