Create animatedCharacter.js