A small tamagotchi clone in JS